import { createRouter, createWebHistory } from 'vue-router'
import DataManagement from '../views/DataManagement.vue'

const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: '/training',
      name: 'training',
      component: () => import('../views/training/Training.vue')
    },
    {
      path: '/',
      name: 'home',
      component: () => import('../views/Home.vue')
    },
    {
      path: '/data-management',
      name: 'dataManagement',
      component: DataManagement
    },
    {
      path: '/model-training',
      name: 'modelTraining',
      component: () => import('../views/training/ModelTraining.vue')
    },
    {
      path: '/data-annotation',
      name: 'dataAnnotation',
      component: () => import('../views/DataAnnotation.vue')
    },
    {
      path: '/start-annotation',
      name: 'startAnnotation',
      component: () => import('../views/StartAnnotation.vue')
    },
    {
      path: '/inference-demo',
      name: 'inferenceDemo',
      component: () => import('../views/training/inferenceDemo.vue')
    },
    {
      path: '/start-inference',
      name: 'startInference',
      component: () => import('../views/training/StartInference.vue')
    },
    {
      path: '/ability-access',
      name: 'abilityAccess',
      component: () => import('../views/abilityAccess/AbilityAccess.vue')
    }
  ]
})

export default router